const app = {
    state: {
        sidebar: true//菜单 合起来的  ，false  打开状态
    },
    //修改状态值
    mutations: {
        TOGGLE_SIDEBAR: (state) => {
            state.sidebar = !state.sidebar;
        }
    }
}

//将子树输出
export default app;